package com.youmu.shop.integral.service.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.youmu.shop.integral.dao.IntegralDao;
import com.youmu.shop.integral.service.IntegralService;
import com.youmu.shop.integral.vo.IntegralVO;


@Service
public class IntegralServiceImpl implements IntegralService {

	private Logger log = LoggerFactory.getLogger(this.getClass());
	
    @Autowired
    private IntegralDao integralDao;


	@Override
	public IntegralVO getIntegral(Long userId) {
		return integralDao.getIntegral(userId);
	}
}
